import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.ReentrantLock;

public class LockDemo {
    public static void main(String[] args) throws InterruptedException {
        ReentrantLock lock=new ReentrantLock();

        int number = 0;
        new ThreadPoolExecutor(
                number,
                number,
                0L,
                TimeUnit.MILLISECONDS,
                new LinkedBlockingQueue<Runnable>()
        );


//        Lock lock=new Lock() {
//            @Override
//            public void lock() {
//
//            }
//
//            @Override
//            public void lockInterruptibly() throws InterruptedException {
//
//            }
//
//            @Override
//            public boolean tryLock() {
//                return false;
//            }
//
//            @Override
//            public boolean tryLock(long time, TimeUnit unit) throws InterruptedException {
//                return false;
//            }
//
//            @Override
//            public void unlock() {
//
//            }
//
//            @Override
//            public Condition newCondition() {
//                return null;
//            }
//        };
\
    }

    private static Runnable sda() {
        return null;
    }
}
